<div class="container">
    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="#">
                    
                </a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="__MODULE__/Index/index">主页</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">专利市场<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="__MODULE__/Info/allInfo/type/1">查看全部专利</a></li>
                            <li role="separator" class="divider"></li>
                            <volist name='cateList1' id='a' empty='暂无数据'>
                                <li><a href="__MODULE__/Info/allInfo/type/1/ctype/{$a.id}">{$a.cate_name}</a></li>
                            </volist>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">商标市场<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="__MODULE__/Info/allInfo/type/2">查看全部商标</a></li>
                            <li role="separator" class="divider"></li>
                            <volist name='cateList2' id='a' empty='暂无数据'>
                                <li><a href="__MODULE__/Info/allInfo/type/2/ctype/{$a.id}">{$a.cate_name}</a></li>
                            </volist>
                        </ul>
                    </li>
                    <li><a href="__MODULE__/Page/help">帮助中心</a></li>
                    <li><a href="__MODULE__/Page/connection">联系我们</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <present name="Think.session.nickname">
                            <a href="__MODULE__/User/login">欢迎:{$Think.session.nickname}</a>
                            <else />
                            <a href="__MODULE__/User/login">登录</a>
                        </present>
                    </li>
                    <li>
                        <present name="Think.session.nickname">
                            <a href="__MODULE__/User/logout">退出</a>
                            <else />
                            <a href="__MODULE__/User/register">注册</a>
                        </present>
                    </li>
                    <li><a href="__MODULE__/Release/index">发布信息</a></li>
                </ul>
                <form class="navbar-form navbar-right" role="search" method="get" action="__MODULE__/Info/searchInfo/" >
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search" name="keyword" required>
                    </div>
                    <button type="submit" class="btn btn-default">查询</button>
                </form>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
</div>
<!-- Mainly scripts -->
<script src="__PUBLIC__/js/jquery-2.1.1.js"></script>
<script src="__PUBLIC__/js/bootstrap.min.js"></script>